package com.jsmile.cloud.taskcenter.api.enums;

public enum TaskCodeEnum {

    ERROR_USER(160001, "非法用户!"),;

    /**
     * 错误信息
     */
    private String resMsg;
    /**
     * 错误码
     */
    private Integer resCode;

    TaskCodeEnum(int resCode, String resMsg) {
        this.resCode = resCode;
        this.resMsg = resMsg;
    }

    public String getResMsg() {
        return resMsg;
    }

    public void setResMsg(String resMsg) {
        this.resMsg = resMsg;
    }

    public Integer getResCode() {
        return resCode;
    }

    public void setResCode(Integer resCode) {
        this.resCode = resCode;
    }
}
